#  ===================== Online ===================
# cd /project/train/src_repo
# wget https://minio.cvmart.net/user-file/24082/84a8e51e60454999ae46642240048f97.zip
# unzip 84a8e51e60454999ae46642240048f97.zip


# pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
# pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
# pip install -r requirements.txt

# cd /project/train/src_repo/mmsegmentation-master
# mkdir pretrain

# wget https://minio.cvmart.net/user-file/24082/0c727d55237d4e5b9a14e626813f2d6d.pth
# mv 0c727d55237d4e5b9a14e626813f2d6d.pth swin_base_patch4_window7_224_22k.pth


#  ====================== Offine ===================

# conda create -n mmseg python=3.6.9    
# source activate mmseg             # 這兩句執行不了
# 先激活環境
cd /media/raywit/6F28CBED6309BB1A/code_fx/mmsegmentation-master
pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
pip install -r requirements.txt

wget https://minio.cvmart.net/user-file/24082/0c727d55237d4e5b9a14e626813f2d6d.pth